package com.dgut.admodule.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.dgut.admodule.entity.Adsbid;
import com.dgut.admodule.entity.dto.AdsbidAddDTO;

public interface IAdsbidService {
	public void saveOrUpdate(AdsbidAddDTO adsbidAddDTO);
	public void delete(Adsbid adsbid);
	public void delete(List<Long> ids);
	public Adsbid findOne(Long id);
	public List<Adsbid> findAll();
	public Adsbid findCompany(String cName);
	public Page<Adsbid> findAll(Specification<Adsbid> spec,Pageable pageable);
	public List<Adsbid> findByBid(Long bidId);
}
